#! /bin/bash

kubectl apply -f calico-3.29.6.yaml

kubectl apply -f calico-dualstack-ippool.yaml

kubectl patch daemonset calico-node -n kube-system --type strategic --patch "$(cat calico-dualstack-patch.yaml)"

sleep 10

kubectl -n kube-system delete pod -l k8s-app=calico-node

echo "kubectl get pod -n kube-system"

